package com.wolfpire.workflow.spring.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.wolfpire.system.common.base.dao.IBaseHibernateDao;
import com.wolfpire.system.common.base.service.impl.BaseHibernateService;
import com.wolfpire.workflow.dao.NodeActorDao;
import com.wolfpire.workflow.om.NodeActor;
import com.wolfpire.workflow.spring.NodeActorService;

/**
 * 节点参与者Service
 * @author liushx
 *
 */
@Service("nodeActorService")
public class NodeActorServiceImpl extends BaseHibernateService<NodeActor, Long> implements NodeActorService {

	@Resource private NodeActorDao nodeActorDao;

	@Override
	public List<NodeActor> list(NodeActor entity) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	protected IBaseHibernateDao<NodeActor, Long> getEntityDao() {
		return this.nodeActorDao;
	}

	@Override
	public List<NodeActor> getNodeActorsByNodeId(Long nodeId) {
		return this.nodeActorDao.queryNodeActors(nodeId);
	}
	
	
}
